package year2020.month03456;

public class TestEnum {

    public static void main(String[] args){
        String code = "APP";
        WeixinPayTradeTypeEnum typeEnum = WeixinPayTradeTypeEnum.getByCode(code);
        System.out.println(WeixinPayTradeTypeEnum.APP.equals(typeEnum));
    }

}
